﻿<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>DR钻戒后台管理系统</title>
    <link rel="stylesheet" href="css/public.css"/>
    <link rel="stylesheet" href="css/style.css"/>
    <script src="../js/jquery-1.12.4.js"></script>
</head>
<script type="text/javascript">

    $(function () {
        let id=sessionStorage.getItem("ID")
        $.getJSON("http://localhost:8080/DiamondRing/BackLookGoodsInfoServlet","ID="+id,function (data) {
            $.each(data, function () {
                $(".providerView").append(" <p><strong>钻戒图片：</strong><span><img width='80px' height='80px' src="+"../"+this.goodsPath+" ></span></p> " +
                    "            <p><strong>钻戒编号：</strong><span>"+this.id+"</span></p>\n" +
                    "            <p><strong>钻戒系列：</strong><span>"+this.series+"</span></p>\n" +
                    "            <p><strong>钻戒款式：</strong><span>"+this.style+"</span></p>\n" +
                    "            <p><strong>钻戒材质：</strong><span>"+this.texture+"</span></p>\n" +
                    "            <p><strong>钻戒形状：</strong><span>"+this.shape+"</span></p>\n" +
                    "            <p><strong>钻戒类型：</strong><span>"+this.type+"</span></p>\n" +
                    "            <p><strong>钻戒色彩度</strong><span>"+this.colour+"</span></p>\n" +
                    "            <p><strong>钻戒克拉：</strong><span>"+this.carat+"</span></p>\n" +
                    "            <p><strong>钻戒价格：</strong><span>"+this.diamondPrice+"元</span></p>\n" +
                    "            <a href=\"providerList.html\">返回</a>")
            })
        })
    });
</script>
<body>
<!--头部-->
<header class="publicHeader">
    <h1>DR钻戒后台管理系统</h1>

    <div class="publicHeaderR">
        <a href="login.html">退出</a>
    </div>
</header>
<!--时间-->
<section class="publicTime">
    <span id="time">2015年1月1日 11:11  星期一</span>
    <a href="#">温馨提示：为了能正常浏览，请使用高版本浏览器!</a>
</section>
<!--主体内容-->
<section class="publicMian ">
    <div class="left">
        <h2 class="leftH2"><span class="span1"></span>功能列表 <span></span></h2>
        <nav>
            <ul class="list">
                <li><a href="billList.html">订单管理</a></li>
                <li id="active"><a href="providerList.html">商品管理</a></li>
                <li><a href="userList.html">用户管理</a></li>
                <li><a href="password.html">密码修改</a></li>
                <li><a href="login.html">退出系统</a></li>
            </ul>
        </nav>
    </div>
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>供应商管理页面 >> 信息查看</span>
        </div>
        <div class="providerView">
        </div>
    </div>
</section>
<footer class="footer">
</footer>
<script src="js/time.js"></script>

</body>
</html>